import { type Component } from "solid-js";

const Avatar: Component<{
  class: string;
  children: any;
}> = (props) => {
  return (
    <div
      class={`grid place-items-center rounded-full bg-gray-700 text-5xl text-white ${props.class}`}
    >
      {props.children}
    </div>
  );
};

export default Avatar;
